package router

import (
	"batbat-backend/app/api"
	"github.com/gogf/gf/frame/g"
	"github.com/gogf/gf/net/ghttp"
)

// 验证码接口路由
func init() {
	g.Server().Group("/captcha", func(group *ghttp.RouterGroup) {
		group.GET("/", api.Captcha.GenerateCaptcha)
		group.POST("/", api.Captcha.VerifyCaptcha)
	})
}
